SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '295b567955c6a76a90fc678ee2d1c280802c45ba8c4e967f160d65ee4b76c01f' 
  AND token = 'yxZptZNpn+kZ5Q+OnEP7RoXouXTa/OmsPsOe3pzj9Bg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}