SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec290e58d91aa5f558ad6a90ac068b86522ceb0492297c6df193068da339ec90' 
  AND token = '/4WkP0cj6ytTQIIeSHr+jqhnHadFom1U9EvT1zeBr50=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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