SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '362414c10320a49392007b22090a11398937efbcfb9c11d9a0c25c142c28fc2a' 
  AND token = 'O343rsLXFVwqoLUiW9by3e0JhmnyOOLbUj4aRYmhZnU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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