SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af2caab6d4a4f0ad8de5d0c8fd9b8a4a33c3062803db5c335711c932f2da433d' 
  AND token = '4gqIZQDIw3KNWcLjvGqLAFYQ0Rh0q/AL8YHumUuQoEk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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