SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9bef1b952c31faa9a70cf2b94fc045fa61f3eacd48301c6a05aea8a8b314e065' 
  AND token = 'y+Vr1lTJ0D0pyhD5HeoVQhByFQUpki/dnwXdmPptfP0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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