SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '779ef82eb1923082942b373df7874005c8ff92cad1d30b5c78dc732e91edc032' 
  AND token = 'dCOHPMuSQKs7kIwJADMg17ZSUwypGQ5i7JFeh3U6f5g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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