SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd8eb23b2ab2d5b588197e3a0113b542eb9d70099e5583525ed352ede8e3fb66f' 
  AND token = 'vYwsZ1Uagp0vWKLx+h8mCm6UjoUcH0NXBQ1wGSm8Nmc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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