SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23349aab74b0cfb25ec30e5f2d4c0a12de8b17212c9ebcaa0b9e0df2581f13b6' 
  AND token = 'CwWrSv2XATVHWuln/r30YI1Xe8LocBKgmlB+Q67j3nQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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