SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5cf1d7ba1a2067427d1f07698a4048d7c1ccfaecdd1666e35f63dc2bffb1040b' 
  AND token = 'ztiyF8M6LKuW+NDNJ7BVaXvRim8ncoKwmQTxfYd61RM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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