SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c0a8c7313a8db9f272dc3c8fbbe5aaa8e24f14f88733389921f8feef34c43bff' 
  AND token = 'n3aSOKQ5WhY+hSGxF1JEmgO4omfdcCPqOdHAB58+1rE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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