SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b6ae940b2271d7d0ce0f17f38b9c12750069cd4e8a36b7365606652ac213d9b2' 
  AND token = 'K/UpMDasUjvkcRfgbVSF9cCWeEQgMkcxzkdsj1mi1/0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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