SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd51ad71c7a897b9e2527249f2d394ebe25c5de4b820a5d84bc35fcdf100fbd9b' 
  AND token = 'OFG297o3hmws2k/7E6Pv8U2vJGm++tN6vSc+30FBReg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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