SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5dd6def4fc3907e3836a2f0e453a38da6bb75fafebdcc2e90eb748a04dd8dcef' 
  AND token = 'WyUzhDFYYYiAoxp6D5DvQE2BtxbWZkIG4wG3MlXF8dY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00078

JSON explain

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