SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecaf453a299f769339451e3da8572abcd96f93062aebec3585488cfe46745e50' 
  AND token = 'ROMD5Hc0O8aPOo/oDJqkg7V/dX3Qc1p77YyIWwcLxsU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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