SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c6e3bdacdc4ef84571fe9e05a44f5beda4122c1b63bae97f5ddd7904f7ba220b' 
  AND token = 'BcWDQ4mX/iPt7DnuDrPvcuLO8Rj/qsq+JQNieTJ86tQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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