SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f27870bbd224ecc1d9bb996f30451aa9a4e8f069f55274f58a07ce4fedf8601a' 
  AND token = 'fw8K1eIoIxvkwKNmiRQ1igpJ5T/7jYHRAk6X9HLT4VA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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