SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '240c02ae051ef816c5d8a77e7c91766ab961cecaef4424afc901da620fdb96c3' 
  AND token = 'ZG8c3xrzT+t2bEtQnrqVQD9exJMGNl8DQFDQwwH6xXw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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