SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '310ec5698ecb73b39695a8c356547c1df0ee00380334c4d5a8d4c19a2150610c' 
  AND token = '5bHbdYH55/qnRfnzsA5xhuvyegH4TXwKnfnRH8kab3Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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