SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2e8e383a2fefa7156d62db17d6cb4bbfc51ad1dd585fbf02e2d8412dd9cf9337' 
  AND token = 'deoYTgKamBH84zahKGALxTgw4fOA8CGFAx6XO37THYg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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