SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8fbe2d3f45f431fac160a0ad6f775dd34a9fb16323afb5999d1da46f676aa199' 
  AND token = 'Pe7l8mONB/cES8nrKQ+tWBXnXc3l38IGP3kZtseu4Qc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00071

JSON explain

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