SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12b7825c1dce90e529e7a44cf3df69419cf14a9474ecad62c40a66e872a0e8f0' 
  AND token = 'n92OmRDdzKtP1cedP9a/Ca5LUVOu3OCUZsfAT15QnoQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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