SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1fa6d4fa7fcfe61ba5de98c682dc62c99c93ab69b8038222c9a55efc1feb2650' 
  AND token = 'YvnWz5rgdwnvgdq1wqg8LP7MOGwW+09PXgLlMtWYCnU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}