SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c1e4c65954d3ce6457a89dae2af311e7fa256d2a6c2818f74a2990c217247d2' 
  AND token = 'm+NmIVm+tgI2xn9BX3crCvGYomdmFmPdVcoE5tMkgN8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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