SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04041cdb5be5a8275c1a2180ae693d15208b1ff5f91317fdb1f6ca6cbacc7c3c' 
  AND token = 'twzH0BtNNH2ehrkQCWXmYb1QMDrWbBtFeKj0eCaZ1EA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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