SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd860f25942be40ddcdbb906ab087becd2d00c06ad55bd08ce21f71e97b2d8816' 
  AND token = 'UxDiJ1X6UPxAvOGUXQ+oiGoQ88iHIoY6sj3L/2ztLJk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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