SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab439a0164c9a95cbf24124fc37952235746cd94aedb4dde85090f113ff4f178' 
  AND token = 'ZleNYud3iGW/DiA8ol293nXkwhByHUTZl0Wrp+Qf2hM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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