SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b86e39b2d1aafb864e34938a187912650dd656e0831939df011d6994e8bce87b' 
  AND token = 'a0T+Jt5nRDKRizjf6rtul/ztPLKCuWq8qgFFlhDET20=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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