SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6edf305278c232f88fc3214e2c0613d853d7901a698a4b50ecaea2dcc7909474' 
  AND token = '7G6afzgTdCtpp9JQ0/8Op6oKGS1ymDvgANjFGEi7smI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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