SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b786b024dbc03d9f92f5e88fbb64ef6cdd67d69278fabc8ca79890922ae883d0' 
  AND token = 'T5Cv4lyaJmdgBR+DjCFhl4WgUsyWuNH0lfOwKMrti7M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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