SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f9e44014cec48c2ec90087a52127d255c57ea86e9a99f27a16d3a34b2e1ecbc' 
  AND token = 'pIKJHbXfMk+Y2nZWWo5Sls0vZYAkGh/QtHR7IU7Nrhc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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