SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3a7ba7c7224d6cd144840fd901b3eb5a45b3c055cdedc8f391d499d1953a72ba' 
  AND token = 'j1fKVOrSQu/1F75vl5xK3/AdFD5Y6j/glf77+ZSftmQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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