SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef99b2f3c6129cfb3893924de3ce98cef974658778dc6371f65f1b2a6760e5f5' 
  AND token = 'Fm+mL7S09DOfHxCJx3eN3IIyJwAsf576DbiV8dXGwTo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}