SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2505c5fc63313cdf325c56e5c4a11499b0b6fd0494804b3b5f691db3e1ac32cd' 
  AND token = 'ZIoKKiOTduYvC6/6wbYf5uD38ZT8kT5t7uhUTXUn1t8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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