SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40f8bf52e602b36fdeb5b92be95f03ef349f8570f93578a5b9dee0ff571c9446' 
  AND token = 'r3KvTXpwOZlhAuOdJeOMd5aT7RGIg5W69K9Ht75kG2c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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