SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8d840de6e702e333760d44f5841c6f59e3529df71a892ef114b3b4950796b68' 
  AND token = 'gW1yhK4FLuLefEZhmFNtWQxQgN2Ci3WbM4skbHgbzNQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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